package com.risk.modules.rm.beans;

import java.io.Serializable;
import java.util.List;

/**
 * 返回列表 分页
 * Created by zhoun on 2017/8/1.
 */
public class ListResult implements Serializable{

    private int totalHits;
    private List<?> list;

    public ListResult() {
    }

    public ListResult(List<?> list, int totalHits) {
        this.list = list;
        this.totalHits = totalHits;
    }

    public List<?> getList() {
        return list;
    }

    public void setList(List<?> list) {
        this.list = list;
    }

    public int getTotalHits() {
        return totalHits;
    }

    public void setTotalHits(int totalHits) {
        this.totalHits = totalHits;
    }
}
